package com.ruoyi.system.api.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 商品对象 product
 * 
 * @author admin
 * @date 2023-10-17
 */
public class Product extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品Id */
    private Long id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String name;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private Long productNumber;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private Long price;

    /** 商品分类id */
    @Excel(name = "商品分类id")
    private Long sortId;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long shopId;

    /** 商品状态 */
    @Excel(name = "商品状态")
    private String status;

    /** 品牌id */
    @Excel(name = "品牌id")
    private Long brandId;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String images;

    /** 总量 */
    @Excel(name = "总量")
    private Long total;

    /** 创建者 */
    private String creator;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String describe;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setProductNumber(Long productNumber) 
    {
        this.productNumber = productNumber;
    }

    public Long getProductNumber() 
    {
        return productNumber;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setSortId(Long sortId) 
    {
        this.sortId = sortId;
    }

    public Long getSortId() 
    {
        return sortId;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setBrandId(Long brandId) 
    {
        this.brandId = brandId;
    }

    public Long getBrandId() 
    {
        return brandId;
    }
    public void setImages(String images) 
    {
        this.images = images;
    }

    public String getImages() 
    {
        return images;
    }
    public void setTotal(Long total) 
    {
        this.total = total;
    }

    public Long getTotal() 
    {
        return total;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setDescribe(String describe) 
    {
        this.describe = describe;
    }

    public String getDescribe() 
    {
        return describe;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("productNumber", getProductNumber())
            .append("price", getPrice())
            .append("sortId", getSortId())
            .append("shopId", getShopId())
            .append("status", getStatus())
            .append("brandId", getBrandId())
            .append("images", getImages())
            .append("total", getTotal())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("describe", getDescribe())
            .append("remark", getRemark())
            .toString();
    }
}
